<div md-subheader class="header-container">
  <div>
    <h3>{{ header }}</h3>
  </div>
  <div class="fill">
    <button md-button type="button" (click)="newTaskClick()">
      <md-icon>add_circle_outline</md-icon>
      <span>新任务</span>
    </button>
  </div>
  <div>
    <button md-icon-button [mdMenuTriggerFor]="menu">
      <md-icon>keyboard_arrow_down</md-icon>
    </button>
  </div>
</div>


<md-menu #menu="mdMenu">
  <button md-menu-item type="button" (click)="editTaskListClick()">
    <md-icon>mode_edit</md-icon>
    <span>修改列表名称</span>
  </button>
  <button md-menu-item type="button" (click)="moveTaskClick()">
    <md-icon [svgIcon]="'move'" class="material-icon"></md-icon>
    <span>移动所有任务</span>
  </button>
  <button md-menu-item type="button" (click)="deleteClick()">
    <md-icon>delete_forever</md-icon>
    <span>删除任务列表</span>
  </button>
</md-menu>
